package com.android.juguotang.model.group;

import android.app.Activity;
import android.os.Bundle;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.ArrayList;

public class GroupMainData  {


//    code	0
//    data	Object
//    flag	true
//    msg	操作成功
//    time	1519955921
    public DataBean data;
    public int code;
    public boolean flag;
    public String msg;
    public int time;

    public static class DataBean{
//        list	Array
//        topic_list	Array
//        public ArrayList<listdetail> list;
        public ArrayList<topiclistdetail> topic_list;
        public static class topiclistdetail implements MultiItemEntity {
            public String apply_etime;
            public String apply_stime;
            public String catid;
            public String desc;//	没有什么比你想要的还重要
            public String end_time;	//1546322400
            public String id;//	2
            public int is_tj;//	1
            public ArrayList<goodsdetail> list;
            public String listorder;
            public String name;	//糖宝新品推荐
            public String posid;
            public String start_time;
            public String status;
            public String thumb;
            public String thumbs;
            public int tj_id	;
            public String type;
            public String typeid;

            @Override
            public int getItemType() {
                return 0;
            }

            public static class goodsdetail{
                public String act_id;
                public String c_time;
                public String cid;
                public String desc;//	皮薄核小，水分充足
                public String goods_id;
                public String id;
                public String img_cover;//	http://www.tbfresh.cn/upload/134/images/gallery/0/q/27_src.jpg
                public String img_src;//	http://www.tbfresh.cn/upload/134/images/gallery/0/q/27_src.jpg
                public String is_tj	;
                public String listorder;
                public String name	;//泰国金标龙眼
                public String normal_val;
                public String price	;
                public String remark;
                public String sales_num;
                public String sell;
                public String sell_num	;
                public String sid	;
//                public Spval sp_val;
                public String status;
                public String team_num;
                public String team_price;
                public String thumb;//	[{"path":"\/upload\/134\/images\/gallery\/0\/q\/27_src.jpg","title":"1"}]
                public String thumbs;//	[{"path":"\/upload\/134\/images\/gallery\/0\/q\/27_src.jpg","title":"1"}]
                public String u_time;
//                public static class Spval{
//
//                }

                public String getAct_id() {
                    return act_id;
                }

                public String getC_time() {
                    return c_time;
                }

                public String getCid() {
                    return cid;
                }

                public String getDesc() {
                    return desc;
                }

                public String getGoods_id() {
                    return goods_id;
                }

                public String getId() {
                    return id;
                }

                public String getImg_cover() {
                    return img_cover;
                }

                public String getImg_src() {
                    return img_src;
                }

                public String getIs_tj() {
                    return is_tj;
                }

                public String getListorder() {
                    return listorder;
                }

                public String getName() {
                    return name;
                }

                public String getNormal_val() {
                    return normal_val;
                }

                public String getPrice() {
                    return price;
                }

                public String getRemark() {
                    return remark;
                }

                public String getSales_num() {
                    return sales_num;
                }

                public String getSell() {
                    return sell;
                }

                public String getSell_num() {
                    return sell_num;
                }

                public String getSid() {
                    return sid;
                }

//                public Spval getSp_val() {
//                    return sp_val;
//                }

                public String getStatus() {
                    return status;
                }

                public String getTeam_num() {
                    return team_num;
                }

                public String getTeam_price() {
                    return team_price;
                }

                public String getThumb() {
                    return thumb;
                }

                public String getThumbs() {
                    return thumbs;
                }

                public String getU_time() {
                    return u_time;
                }
            }

            public String getApply_etime() {
                return apply_etime;
            }

            public String getApply_stime() {
                return apply_stime;
            }

            public String getCatid() {
                return catid;
            }

            public String getDesc() {
                return desc;
            }

            public String getEnd_time() {
                return end_time;
            }

            public String getId() {
                return id;
            }

            public int getIs_tj() {
                return is_tj;
            }

            public ArrayList<goodsdetail> getList() {
                return list;
            }

            public String getListorder() {
                return listorder;
            }

            public String getName() {
                return name;
            }

            public String getPosid() {
                return posid;
            }

            public String getStart_time() {
                return start_time;
            }

            public String getStatus() {
                return status;
            }

            public String getThumb() {
                return thumb;
            }

            public String getThumbs() {
                return thumbs;
            }

            public int getTj_id() {
                return tj_id;
            }

            public String getType() {
                return type;
            }

            public String getTypeid() {
                return typeid;
            }
        }
        public static class listdetail{

        }
        public ArrayList<topiclistdetail> getTopic_list() {
            return topic_list;
        }
    }

    public DataBean getData() {
        return data;
    }

    public int getCode() {
        return code;
    }

    public boolean isFlag() {
        return flag;
    }

    public String getMsg() {
        return msg;
    }

    public int getTime() {
        return time;
    }
}
